package com.hry.mail.service;

import freemarker.template.TemplateException;
import org.springframework.mail.MailMessage;

import javax.mail.MessagingException;
import java.io.IOException;

public interface MailService {
    void sendSimpleMail();

    void sendAttachFileMail() throws MessagingException;

    void sendImgResMail() throws MessagingException;

    void sendFreemarkerMail() throws MessagingException, IOException, TemplateException;

    void sendThymeleafMail() throws MessagingException;
}
